﻿using SqlSugar;

namespace Zhp.Workflow.Entity
{
    [SugarTable("Elsa.Bookmarks")]
    public class Elsa_Bookmark
    {
        [SugarColumn(IsPrimaryKey = true, Length = 450, ColumnDescription = "ID主键")]
        public string ID { get; set; }

        [SugarColumn(IsNullable = true, Length = 450, ColumnDescription = "租户ID")]
        public string TenantId { get; set; }

        [SugarColumn(IsNullable = false, Length = 450, ColumnDescription = "")]
        public string Hash { get; set; }

        [SugarColumn(IsNullable = false, ColumnDataType = "nvarchar(max)", ColumnDescription = "")]
        public string Model { get; set; }

        [SugarColumn(IsNullable = false, ColumnDataType = "nvarchar(max)", ColumnDescription = "对应的实体类型全名称")]
        public string ModelType { get; set; }

        [SugarColumn(IsNullable = false, Length = 450, ColumnDescription = "活动类型")]
        public string ActivityType { get; set; }

        [SugarColumn(IsNullable = false, Length = 450, ColumnDescription = "活动ID")]
        public string ActivityId { get; set; }

        [SugarColumn(IsNullable = false, Length = 450, ColumnDescription = "流程ID")]
        public string WorkflowInstanceId { get; set; }

        [SugarColumn(IsNullable = false, Length = 450)]
        public string CorrelationId { get; set; }

    }
}
